﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public abstract class Shape : IDraw
    {
        public Color Color { get; set; }
        public int BorderWidth { get; set; }
       public Point FirstPoint { get; protected set; }
   
      
        //created abstract as both setshapes and freestyle will override
        public abstract Point LastPoint { get; set; }
 


        public override String ToString()
        {
            throw new NotImplementedException();
        }

        public abstract void Draw(Graphics g);


        public Color FillColor { get; set; }
        public bool Fill { get; set; }
    }


    internal interface IDraw
    {
        void Draw(Graphics g);
    }



}